<template>
    <div>
<table>
    <tr>
        <td>mc1</td>
        <td>
            <input type="text">
        </td>
    </tr>
    <tr>
        <td>状态</td>
        <td>    <input type="text"></td>
    </tr>
    <tr>
        <td>数量</td>
        <td>    <input type="text"></td>
    </tr>
    <tr>
        <td>单价</td>
        <td>    <input type="text"></td>
    </tr>
    <tr>
        <td>
            <input type="button" value="添加" @click="deenglu">
        </td>
        <td></td>
    </tr>
    
</table>
    </div>
</template>

<script setup lang="ts">

const deenglu=()=>{
 alert("添加成功")
}

</script>

<style scoped>

</style>